package com.dailyblue.java.standard.design.装饰者模式;

public class Sing extends Decorater {
    public Sing(Person person) {
        super(person);
    }

    @Override
    public void action() {
        System.out.println(getName() + "放声高歌");
        getPerson().action();
    }
}
